ExamPlay Light Logo
Zalogować się

Computer Science for IGCSE & O level - Programming (Section 7 - No. 31)

What is the output of `print(str(123) + "456")`?
579
123456
"123456"
Error

Wyjaśnienie

str(123) converts 123 to a string; string concatenation results in 123456.

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc